/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.cms.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * app系统版本信息Entity
 * @author leo
 * @version 2017-04-18
 */
public class AppVersion extends DataEntity<AppVersion> {
	
	private static final long serialVersionUID = 1L;
	private String appcode;		// appcode
	private String appname;		// appname
	private String version;		// version
	private String url;		// url
	
	public AppVersion() {
		super();
	}

	public AppVersion(String id){
		super(id);
	}

	@Length(min=0, max=100, message="appcode长度必须介于 0 和 100 之间")
	public String getAppcode() {
		return appcode;
	}

	public void setAppcode(String appcode) {
		this.appcode = appcode;
	}
	
	@Length(min=0, max=200, message="appname长度必须介于 0 和 200 之间")
	public String getAppname() {
		return appname;
	}

	public void setAppname(String appname) {
		this.appname = appname;
	}
	
	@Length(min=0, max=100, message="version长度必须介于 0 和 100 之间")
	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}
	
	@Length(min=0, max=200, message="url长度必须介于 0 和 200 之间")
	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}
	
}